icontheme: Clarify the docs
authorMatthias Clasen <mclasen@redhat.com>
Wed, 30 Sep 2020 12:01:50 +0000 (08:01 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 30 Sep 2020 12:55:39 +0000 (08:55 -0400)
Mention that icons directly in /$app_id/icons/ are treated
as unthemed icons.

See #3216

gtk/gtkicontheme.c

index 848d2848fa879ffd34eb1f0779ba918cb2e3a42b..49d16d5ca52383067d200c0977ff6194300840bf 100644 (file)
@@ -1542,9 +1542,12 @@ gtk_icon_theme_add_search_path (GtkIconTheme *self,
  *
  * The resources are considered as part of the hicolor icon theme
  * and must be located in subdirectories that are defined in the
- * hicolor icon theme, such as `@path/16x16/actions/run.png`.
+ * hicolor icon theme, such as `@path/16x16/actions/run.png`
+ * or `@path/scalable/actions/run.svg`.
+ *
  * Icons that are directly placed in the resource path instead
- * of a subdirectory are also considered as ultimate fallback.
+ * of a subdirectory are also considered as ultimate fallback,
+ * but they are treated like unthemed icons.
  */
 void
 gtk_icon_theme_set_resource_path (GtkIconTheme       *self,